package com.study.xml.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@XStreamAlias("ns0:custom-field")
public class CustomField  implements Serializable {
    private static final long serialVersionUID = 1L;
    @XStreamAsAttribute
    private String fieldname;
    @XStreamAsAttribute
    private String fieldvalue;
}
